package com.zhuxulin.java.email.db.bean;

import java.util.Date;

import com.zhuxulin.java.email.utils.FormatUtil;

public class QQRowBean {
	private int id;
	private String mail;
	private Date lastDate;
	private int times;

	public QQRowBean(int id, String mail, Date lastDate, int times) {
		super();
		this.id = id;
		this.mail = mail;
		this.lastDate = lastDate;
		this.times = times;
	}

	public QQRowBean() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public Date getLastDate() {
		return lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}

	public int getTimes() {
		return times;
	}

	public void setTimes(int times) {
		this.times = times;
	}

	@Override
	public String toString() {
		return "QQRowBean [id=" + id + ", mail=" + mail + ", lastDate=" + FormatUtil.formatDate(lastDate, "yyyy-MM-dd HH:MM:ss") + ", times=" + times + "]";
	}
}
